package com.xms.event.core;

import org.springframework.context.ApplicationEvent;

/**
 * <p>
 * 对象更新后事件
 * </p>
 *
 * @author migo
 * @since 2021/9/26
 */
public class ObjectUpdatedEvent<T> extends ApplicationEvent {
    public ObjectUpdatedEvent(T $origin, T $updated) {
        super($origin);
        origin = $origin;
        updated = $updated;
    }

    public T origin;
    public T updated;
}
